package com.waidi.clothespad.common;

public class DpsInterface
{
    public static String TAG = DpsInterface.class.getSimpleName();

    public static String getStyleNumInfo(String po)
    {
        String url =
                "http://"+Config.devConfig.web_addr+"/pis/orderCraft/getShapeDetailInfo?po="
                +po;
        return url;
    }



    public static String qRCodeBound(String code,String procInstId,String schemaLineNum,
                                     String workNum, String hangerId,String typeName,
                                     String qrCode)
    {
        String url =
                "http://"+Config.devConfig.web_addr+
                        "/pis/codeRelationCraft/relation?code="
                        +code+
                        "&procInstId="+procInstId+
                        "&schemaLineNum="+schemaLineNum+
                        "&workNum="+workNum+
                        "&hangerId="+hangerId+
                        "&typeName="+ typeName+
                        "&qrCode="+qrCode;
        return url;
    }

    public static String getRelationInfo(String code,String qrDevCode)
    {
        String url =
                "http://"+Config.devConfig.web_addr+"/pis/codeRelationCraft/getRelationInfo?code="
                        +code+
                        "&qrCode="+qrDevCode;
        return url;
    }


}
